package com.autumn.xa.a.tuling.jvm;

/**
 * ClassName: LearnStackMemoryDemo
 *
 * @Description:
 * @Author: wangqiuyang
 * @Date: 2022/6/24 3:22 PM
 * History:
 * <author>          <time>          <version>          <desc>
 * wangqiuyang    2022/6/24 3:22 PM   @Version 1.0        描述
 */
public class LearnStackMemoryDemo {

    // 学习操作数栈的具体运行

    public int compute(){
        int a = 10;
        int b = 6;
        int c = (a + b) * 2;
        return c;
    }

    public static void main(String[] args) {
        LearnStackMemoryDemo obj = new LearnStackMemoryDemo();
        int result = obj.compute();
        System.out.println(result);
    }
}
